home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / MSDOS / (m)aas / CHOP2.ARC / CHOP.DOC < prev    next >
Text File  |  1985-08-21  |  2KB  |  35 lines

  1.    This program splits the input file into smaller files.
  2.  
  3.    USAGE: CHOP FILENAME SIZE -SWITCHES
  4.    Version 1.1.  Written by W. J. Kennamer and released into the public domain.
  5.      FILENAME is any valid MS-DOS filename.  Wildcards are not supported.
  6.      Output file names will be FILENAME.1, FILENAME.2, etc.
  7.      Output files are always terminated with a carriage return and a <ctrl>Z.
  8.      SIZE is the desired file size for each new file.
  9.      SWITCHES must follow both the FILENAME and SIZE parameters,
  10.        and may be entered in any order.  Switches may be combined.
  11.      Valid SWITCHES are:
  12.        -s  strict    ║ chop file at exact SIZE boundary.
  13.        -r  return    ║ chop file at first carriage return
  14.                      ║   following SIZE characters (default).
  15.        -px partition ║ partition file into x equal units.
  16.                          SIZE is ignored (and may be omitted) if
  17.                          you choose this option.
  18.  
  19. An example would be a 5000k file named:file
  20. type CHOP FILE 2500 -s   creates as many sections of 2500 as it can , in this
  21. case it would be two partitions of equal size or near equal as CHOP will
  22. deside where the best place to chop a file.
  23.  
  24. the second example would be simular to the first except that it will break the
  25. file at an exact location, that is at the first carrage return following the
  26. size alocation you specify..ig: CHOP FILE 2500 -r
  27.  
  28. the last option is chop file into so many parts so that an option of 2 would
  29. make two equal parts..ig: CHOP FILE -p2 .
  30.  
  31.     Please note these are my findings and there may be other variations, but
  32.     I found that using CAPITALS did not give the desired or expected results.
  33.     LOOK at the source code provided for more info. CHOP.C
  34.  
  35. at using CAPITALS did no